<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>01-定位的概念</title>
    <style>
        /* *{
            margin: 0;
            padding: 0;
        } */
        /* 定位 */
        .div1{
            width: 100px;
            height: 100px;
            background-color: red;
            position: absolute;
            left: 100px;
        }
        /* 浮动 */
        .div2{
            width: 200px;
            height: 200px;
            background-color: blue;
            float: left;
        }
        /* 标准流 */
        .div3{
            width: 300px;
            height: 300px;
            background-color: greenyellow;
        }
    </style>
</head>
<body>
    <div class="div1"></div>
    <div class="div2">111</div>
    <div class="div3">222</div>
</body>
</html>